Skip to content

MySQL cursor fetch uses wrong row descriptor after initial fetch#1563

Merged
tsegismont merged 1 commit into
eclipse-vertx:5.0from
tsegismont:backport-1562
Nov 4, 2025
Merged

MySQL cursor fetch uses wrong row descriptor after initial fetch#1563
tsegismont merged 1 commit into
eclipse-vertx:5.0from
tsegismont:backport-1562

Conversation

@tsegismont
Copy link
Copy Markdown
Member

Backport of #1562

…ipse-vertx#1562)

See eclipse-vertx#1525

MySQL sends column definitions in response to a prepare command.
But when executing the statement or fetching the first page of a cursor, it sends column definitions again.

The row decoder should not use the definitions given in response to prepare command because they may not be accurate.

The previous cursor implementation used them when fetching the second page.

Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
@tsegismont tsegismont added this to the 5.0.6 milestone Nov 4, 2025
@tsegismont tsegismont merged commit 125df2f into eclipse-vertx:5.0 Nov 4, 2025
18 checks passed
@tsegismont tsegismont deleted the backport-1562 branch November 4, 2025 11:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant